package com.bgs.mapper;

import com.bgs.pojo.Invoice;
import com.bgs.pojo.Writeoff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: xkgc
 * @description:
 * @author: Mr.Zhao
 * @create: 2022-05-17 21:07
 */
public interface WriteoffMapper {
    int deleteByPrimaryKey(Integer writeoffId);

    int insert(Writeoff record);

    int insertSelective(Writeoff record);

    Writeoff selectByPrimaryKey(Integer writeoffId);

    int updateByPrimaryKeySelective(Writeoff record);

    int updateByPrimaryKey(Writeoff record);

    List<Writeoff> findAllFinance(@Param("ordernumber") String ordernumber, @Param("type") Integer type);

    int shenFvo(Invoice invoice);
}
